package com.jz;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RoundRobinRule;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * Created by Hasee on 2022-02-23.
 */
@Component
public class Config {
    //启用resttemplage

//    @Bean//spring加载当前方法
//    public IRule myFuzai(){
//        return new RoundRobinRule();
//    }
}
